home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d18 / tprat5.arc / TPRAT5.DOC < prev    next >
Text File  |  1988-12-20  |  9KB  |  265 lines

  1.  
  2.  
  3.  
  4.                                                                         1
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.             TP RAT -- TURBO PASCAL 5.0 MOUSE DRIVER
  12.             
  13.             I.  I N T R O D U C T I O N:
  14.             
  15.                  TP  Rat  is  a  Microsoft-compatible  mouse  driver  to
  16.             provide mouse  support for  Borland's Turbo Pascal 5.0.  The
  17.             new Turbo  editor is  nicer than the one in Turbo Pascal 3.0
  18.             in that  there are  new pull-down  menus, however,  you  are
  19.             still required  to know the WordStar commands for such tasks
  20.             as moving blocks of text.  If you can't rattle off the fifty
  21.             or so  WordStar text  editor commands  off the  top of  your
  22.             head, then this program is for you. Now your Microsoft mouse
  23.             (or compatible)  can have  cursor support, context sensitive
  24.             interaction, and  added pull-down  menus so that practically
  25.             all your  choices are  a mouse  click away.    This  version
  26.             accomodates the new commands available in Turbo Pascal 5.0.
  27.                  This program  is designed  to be  intuitive, so you may
  28.             skip the  directions and  figure out  how the mouse works as
  29.             you go  along.  If you are the more patient type, follow the
  30.             below directions  to get  the most out of this mouse driver.
  31.             Users of  TP Rat  for Turbo  Pascal 4.0 can skip down to the
  32.             "New Changes" section.
  33.             
  34.             II.  I N S T A L L A T I O N:
  35.             
  36.                  Before you  begin, familiarize  yourself with the below
  37.             files:
  38.             
  39.             FILE                FUNCTION
  40.             
  41.             tprat.mnu           Turbo Pascal 5.0 mouse driver (color)
  42.             tpmono.mnu          Turbo Pascal 5.0 mouse driver (mono)
  43.             tprat.doc           This file
  44.             tprat.def           Source code for driver
  45.             menu.com            Runtime file necessary to load driver
  46.             
  47.             At this point the installation will depend on your system:
  48.             
  49.                  a) CGA, EGA or VGA systems:  At the DOS prompt type the
  50.             command:
  51.             
  52.             menu tprat
  53.             
  54.             This should load the driver.  So that you don't have to type
  55.             this every  time you  run Turbo Pascal, include this command
  56.             in your batch file.  To unload the driver type "menu off" at
  57.             the DOS prompt.
  58.             
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                                                         2
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.                  b) Monochromatic  systems:   At the DOS prompt type the
  78.             command:
  79.             
  80.             menu tpmono
  81.             
  82.             This should  load the  monochromatic version  of the driver.
  83.             So that you don't have to type this every time you run Turbo
  84.             Pascal, include  this command  in your batch file. To unload
  85.             the driver type "menu off" at the DOS prompt.
  86.             
  87.             III.  D I R E C T I O N S   F O R   U S E:
  88.             
  89.                  The logic  of the  mouse is dependent upon which button
  90.             is pushed -- right, left or both.
  91.             
  92.             LEFT BUTTON:
  93.             
  94.                  Edit mode:   Clicking  this button, while in the normal
  95.             or "Edit"  mode of  the Turbo  editor, will invoke the Turbo
  96.             command line  at the top of the screen.  Then move the mouse
  97.             to select the desired choice.  Now click EITHER mouse button
  98.             to execute  this choice.   In some cases this will pull down
  99.             another menu from Turbo's editor.  When in one of these pull
  100.             down menus,  again just move the mouse to select your choice
  101.             and click EITHER mouse button.  Again this may even take you
  102.             into a  second pull-down  menu.   Again make  your selection
  103.             just like  before.   You may get out of any menu by clicking
  104.             BOTH mouse buttons (at the same time).
  105.             
  106.             RIGHT BUTTON:
  107.             
  108.                  Edit mode:   Clicking  this button, while in the normal
  109.             or "Edit"  mode of  the Turbo  editor,  will  invoke  a  new
  110.             command line  across the  top of the screen.  It should have
  111.             the following choices:
  112.             
  113.             Block     Find and Replace         Miscellaneous
  114.             
  115.             Move the  mouse to  position the  cursor over  one of  these
  116.             choices.   Click EITHER  mouse button to invoke your choice.
  117.             If you  get here by mistake, just push BOTH mouse buttons to
  118.             get out of this menu.
  119.                  Each command  will pull  down a  menu of  choices  that
  120.             relates to  the choice  you selected.   Each  is essentially
  121.             self-explanatory, but  refer to the Turbo Pascal 5.0 manual,
  122.             p. 242,  if you  need further  explanation.   Some  commands
  123.             require you to enter a number or symbol from the keyboard to
  124.             complete the  command.   Again, if  you want out of any menu
  125.             just push BOTH mouse buttons to get out.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                                                         3
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.             
  144.             BOTH BUTTONS:
  145.             
  146.                  In "Edit"  mode, pressing  both buttons  simultaneously
  147.             will generate  the "Escape" code (27).  This key can be used
  148.             to abort many of the Turbo editors functions.
  149.                  Pressing both  buttons in  any menu  will cause  you to
  150.             exit that menu.
  151.             
  152.             RIGHT or LEFT BUTTON:
  153.             
  154.                  There are  times  when  either  right  or  left  button
  155.             generates the same consequence.
  156.                  During a  "Find" or  "Find and Replace" operation, when
  157.             the "Options"  prompt appears  on screen  line #2,  pressing
  158.             EITHER button  will invoke a "Options" submenu to remind you
  159.             of the possible options available.
  160.                  Also during  a "Find  and Replace"  operation, when you
  161.             are prompted  to respond  "Yes"  or  "No",  pressing  EITHER
  162.             button will invoke a "Yes  No" submenu to allow you to enter
  163.             your response from the mouse.
  164.             
  165.             IV.  N E W   C H A N G E S
  166.             
  167.                  The following changes are made for this version:
  168.             
  169.                  There are  now two different "autoexec" macros at start
  170.             up.   Pressing the  left button  at start  up will execute a
  171.             "Zoom"  and   call  up   *.pas  files   from   the   default
  172.             subdirectory.   Pressing the  right button  will do the same
  173.             except with the "Zoom" function.
  174.                  After a  Bock Move  or Copy  command, the block will be
  175.             unmarked.  This reflects my own preference.
  176.                  New commands  are  added  to  the  Miscellaneous  Menu.
  177.             These are  essentially those  listed on  p. 242 of the Turbo
  178.             manual.
  179.             
  180.             V.  S U M M A R Y:
  181.             
  182.                  Use  of  this  mouse  is  self-explanatory.    In  sum,
  183.             pressing the  left button  will call  up Turbo's  menu  from
  184.             which you  may enter your choice.  Pressing the right button
  185.             will call  up Turbo  editor commands that previously you had
  186.             to memorize.  Pressing both buttons will exit any menu.
  187.             
  188.             VI.  D I S C L A I M E R
  189.             
  190.                  This  program   is   intended   solely   for   private,
  191.             noncomercial use.   You  are encouraged to copy and share it
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                                                         4
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.             as long  as the  archive file  is always distributed intact.
  210.             While all  reasonable effort  has been  made to  correct any
  211.             defects in  this mouse driver, you use it completely AT YOUR
  212.             OWN RISK.   The author expressly refuses any guarantee as to
  213.             the fitness of this product.  You are solely responsible for
  214.             ANY and  ALL damages  that you or others incur in the use or
  215.             misuse of  this program.   If  you have  any reservations to
  216.             this, you are expressly forbidden from using this product.
  217.             
  218.             I welcome  any comments,  suggestions, and  questions  about
  219.             this mouse  driver andpointing  out errors  that  invariably
  220.             creep it.
  221.             
  222.             J. A. Smart    10-17-88   CompuServe EMAIL 73307,2662
  223.             WordStar, Leading  Edge, Borland,  Microsoft, and  so  forth
  224.             retain the  trademarksof their  respective companies.   This
  225.             driver is  not associated  with any trademark, registered or
  226.             otherwise.
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.